var myActivityListRequest = {
    getMyActivityList : function(pageId, type, callback){
        $.ajax({
            type: "post",
            url: "/myActivity/getMyActivityList",
            data: {
                pageId : pageId, type:type
            },
            dataType: "json",
            success: function(result) {
                if(checkAjaxResult(result)){
                    callback(result.data);
                }else{
                    layer.msg(result.msg);
                }
            }
        })
    },
    delDraft : function(id, callback){
        $.ajax({
            type: "post",
            url: "/myActivity/delDraft",
            data: {
                id : id
            },
            dataType: "json",
            success: function(result) {
                if(checkAjaxResult(result)){
                    callback(result);
                }else{
                    layer.msg(result.msg);
                }
            }
        })
    }    
};